WPML\Core\Twig\Sandbox\SecurityPolicy S

Total Complexity 26
Dependencies 7
Dependents 0
Total lines 89
Lines of code 72
Logical lines of code 40
Comment lines 0
Methods 9
Properties 5

Methods 9

Method Rating Maintainability Complexity Lines of code
checkSecurity()
S
56 7 17
checkMethodAllowed()
S
56 6 17
checkPropertyAllowed()
S
59 5 13
setAllowedMethods()
S
69 3 6
__construct()
S
69 1 7
setAllowedTags()
S
81 1 3
setAllowedFilters()
S
81 1 3
setAllowedProperties()
S
81 1 3
setAllowedFunctions()
S
81 1 3